package com.zr.serviceImpl;

import com.zr.dao.SqspDaoljc;
import com.zr.daoImpl.SqspDaoImplljc;
import com.zr.service.SqspServiceljc;

import net.sf.json.JSONObject;

public class SqspServiceImplljc implements SqspServiceljc{
	
	SqspDaoljc s = new SqspDaoImplljc();
	//获取所有的申请请求  SQ为申请
	@Override
	public JSONObject findAllSQ(int page,int rows) {
		JSONObject j = new JSONObject();
		j.put("total", s.getCountSQ());
		j.put("rows", s.getAllSQ(page, rows));
		return j;
	}

}
